home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 9656 < prev    next >
Mailbox/MIME Entity  |  1996-08-05  |  1.8 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: Mailbox/MIME Entity (archive/mbox).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Newsgroup Content (archive/news) magic Supported
100% dexvert Mailbox/MIME Entity (archive/mbox) magic Supported
100% dexvert Internet Message Format (text/imf) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file news, ASCII text default
100% checkBytes Printable ASCII default
100% dexmagic PrintFox/Pagefox WEAK default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/950 MIME Email (1.0) default
100% detectItEasy Format: plain text[LF] default (weak)
100% xdgMime message/news default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 6e 65 | 77 73 2e 70 63 69 78 2e |Path: ne|ws.pcix.|
|00000010| 63 6f 6d 21 72 6f 6f 74 | 0a 46 72 6f 6d 3a 20 44 |com!root|.From: D|
|00000020| 4d 75 69 73 65 20 3c 64 | 6d 75 69 73 65 40 70 63 |Muise <d|muise@pc|
|00000030| 69 78 2e 63 6f 6d 3e 0a | 4e 65 77 73 67 72 6f 75 |ix.com>.|Newsgrou|
|00000040| 70 73 3a 20 63 6f 6d 70 | 2e 6c 61 6e 67 2e 63 2b |ps: comp|.lang.c+|
|00000050| 2b 0a 53 75 62 6a 65 63 | 74 3a 20 54 65 78 74 45 |+.Subjec|t: TextE|
|00000060| 64 69 74 42 6f 78 20 61 | 6e 64 20 73 75 62 70 72 |ditBox a|nd subpr|
|00000070| 6f 63 65 73 73 65 73 0a | 44 61 74 65 3a 20 53 75 |ocesses.|Date: Su|
|00000080| 6e 2c 20 30 33 20 4d 61 | 72 20 31 39 39 36 20 31 |n, 03 Ma|r 1996 1|
|00000090| 30 3a 34 32 3a 30 35 20 | 2d 30 38 30 30 0a 4f 72 |0:42:05 |-0800.Or|
|000000a0| 67 61 6e 69 7a 61 74 69 | 6f 6e 3a 20 50 6c 79 6d |ganizati|on: Plym|
|000000b0| 6f 75 74 68 20 43 6f 6d | 6d 65 72 63 69 61 6c 20 |outh Com|mercial |
|000000c0| 49 6e 74 65 72 6e 65 74 | 20 65 58 63 68 61 6e 67 |Internet| eXchang|
|000000d0| 65 0a 4d 65 73 73 61 67 | 65 2d 49 44 3a 20 3c 33 |e.Messag|e-ID: <3|
|000000e0| 31 33 39 45 37 46 44 2e | 36 41 42 42 40 70 63 69 |139E7FD.|6ABB@pci|
|000000f0| 78 2e 63 6f 6d 3e 0a 52 | 65 70 6c 79 2d 54 6f 3a |x.com>.R|eply-To:|
|00000100| 20 6c 61 70 65 6e 74 61 | 40 62 61 74 74 65 6c 6c | lapenta|@battell|
|00000110| 65 2e 6f 72 67 0a 4e 4e | 54 50 2d 50 6f 73 74 69 |e.org.NN|TP-Posti|
|00000120| 6e 67 2d 48 6f 73 74 3a | 20 6b 2d 70 6d 2d 64 79 |ng-Host:| k-pm-dy|
|00000130| 6e 32 36 2e 70 63 69 78 | 2e 63 6f 6d 0a 4d 69 6d |n26.pcix|.com.Mim|
|00000140| 65 2d 56 65 72 73 69 6f | 6e 3a 20 31 2e 30 0a 43 |e-Versio|n: 1.0.C|
|00000150| 6f 6e 74 65 6e 74 2d 54 | 79 70 65 3a 20 74 65 78 |ontent-T|ype: tex|
|00000160| 74 2f 70 6c 61 69 6e 3b | 20 63 68 61 72 73 65 74 |t/plain;| charset|
|00000170| 3d 75 73 2d 61 73 63 69 | 69 0a 43 6f 6e 74 65 6e |=us-asci|i.Conten|
|00000180| 74 2d 54 72 61 6e 73 66 | 65 72 2d 45 6e 63 6f 64 |t-Transf|er-Encod|
|00000190| 69 6e 67 3a 20 37 62 69 | 74 0a 58 2d 4d 61 69 6c |ing: 7bi|t.X-Mail|
|000001a0| 65 72 3a 20 4d 6f 7a 69 | 6c 6c 61 20 32 2e 30 20 |er: Mozi|lla 2.0 |
|000001b0| 28 57 69 6e 31 36 3b 20 | 49 29 0a 54 6f 3a 20 6c |(Win16; |I).To: l|
|000001c0| 61 70 65 6e 74 61 40 62 | 61 74 74 65 6c 6c 65 2e |apenta@b|attelle.|
|000001d0| 6f 72 67 0a 0a 48 69 2c | 0a 0a 09 49 20 68 61 76 |org..Hi,|...I hav|
|000001e0| 65 20 61 20 66 65 77 20 | 71 75 65 73 69 74 69 6f |e a few |quesitio|
|000001f0| 6e 73 20 61 62 6f 75 74 | 20 70 72 6f 67 72 61 6d |ns about| program|
|00000200| 6d 69 6e 67 20 69 6e 20 | 4f 57 4c 20 0a 77 69 74 |ming in |OWL .wit|
|00000210| 68 20 42 6f 72 6c 61 6e | 64 20 43 2b 2b 20 34 2e |h Borlan|d C++ 4.|
|00000220| 35 2e 20 20 49 20 77 61 | 73 20 77 6f 6e 64 65 72 |5. I wa|s wonder|
|00000230| 69 6e 67 20 68 6f 77 20 | 74 6f 20 73 65 6e 64 20 |ing how |to send |
|00000240| 74 65 78 74 20 6f 75 74 | 20 0a 74 6f 20 61 20 74 |text out| .to a t|
|00000250| 65 78 74 62 6f 78 20 74 | 68 61 74 20 69 73 6e 27 |extbox t|hat isn'|
|00000260| 74 20 73 74 61 74 69 63 | 2e 20 54 68 69 73 20 69 |t static|. This i|
|00000270| 73 20 77 68 61 74 20 49 | 20 77 61 73 20 74 72 79 |s what I| was try|
|00000280| 69 6e 67 20 74 6f 20 0a | 64 6f 20 62 75 74 20 69 |ing to .|do but i|
|00000290| 74 20 64 69 64 6e 27 74 | 20 77 6f 72 6b 2e 0a 0a |t didn't| work...|
|000002a0| 09 2f 2f 20 69 6e 70 75 | 74 20 69 73 20 61 20 6e |.// inpu|t is a n|
|000002b0| 75 6d 62 65 72 20 74 68 | 61 74 20 49 20 67 6f 74 |umber th|at I got|
|000002c0| 20 66 72 6f 6d 20 74 68 | 65 20 73 65 72 69 61 6c | from th|e serial|
|000002d0| 20 70 6f 72 74 0a 09 73 | 70 72 69 6e 74 66 28 62 | port..s|printf(b|
|000002e0| 75 66 66 65 72 2c 22 3e | 3e 20 72 65 74 75 72 6e |uffer,">|> return|
|000002f0| 65 64 20 27 25 64 27 22 | 2c 69 6e 70 75 74 29 3b |ed '%d'"|,input);|
|00000300| 0a 09 6f 75 74 62 6f 78 | 2d 3e 53 65 74 54 65 78 |..outbox|->SetTex|
|00000310| 74 28 49 44 5f 4f 55 54 | 42 4f 58 2c 20 62 75 66 |t(ID_OUT|BOX, buf|
|00000320| 66 65 72 2c 20 73 74 72 | 6c 65 6e 28 62 75 66 66 |fer, str|len(buff|
|00000330| 65 72 29 29 3b 0a 0a 09 | 49 20 63 61 6e 20 73 65 |er));...|I can se|
|00000340| 6e 64 20 6f 75 74 20 73 | 74 61 74 69 63 20 28 69 |nd out s|tatic (i|
|00000350| 65 20 49 20 70 75 74 20 | 22 73 74 61 74 69 63 20 |e I put |"static |
|00000360| 74 65 78 74 22 29 20 74 | 65 78 74 20 0a 61 6c 72 |text") t|ext .alr|
|00000370| 69 67 68 74 20 62 75 74 | 20 69 74 73 20 76 61 72 |ight but| its var|
|00000380| 69 62 6c 65 20 74 65 78 | 74 20 74 68 61 74 20 64 |ible tex|t that d|
|00000390| 6f 65 73 6e 27 74 20 63 | 6f 6d 65 20 6f 75 74 2e |oesn't c|ome out.|
|000003a0| 20 44 6f 20 49 20 0a 6e | 65 65 64 20 74 6f 20 75 | Do I .n|eed to u|
|000003b0| 73 65 20 73 6f 6d 65 74 | 68 69 6e 67 20 62 65 73 |se somet|hing bes|
|000003c0| 69 64 65 73 20 53 65 74 | 54 65 78 74 3f 0a 0a 09 |ides Set|Text?...|
|000003d0| 41 6c 73 6f 20 77 68 61 | 74 20 69 73 20 74 68 65 |Also wha|t is the|
|000003e0| 20 63 61 72 72 69 67 65 | 20 72 65 74 75 72 6e 20 | carrige| return |
|000003f0| 63 68 61 72 20 66 6f 72 | 20 77 69 6e 64 6f 77 73 |char for| windows|
|00000400| 2e 20 49 20 0a 74 72 69 | 65 64 20 22 5c 6e 5c 72 |. I .tri|ed "\n\r|
|00000410| 22 20 66 6f 72 20 61 20 | 6d 75 6c 74 69 6c 69 6e |" for a |multilin|
|00000420| 65 20 65 64 69 74 62 6f | 78 20 62 75 74 20 74 68 |e editbo|x but th|
|00000430| 65 79 20 77 65 72 65 6e | 27 74 20 0a 69 6e 74 65 |ey weren|'t .inte|
|00000440| 72 70 65 72 61 74 65 64 | 20 62 79 20 53 65 74 54 |rperated| by SetT|
|00000450| 65 78 74 2e 0a 0a 09 4d | 79 20 6c 61 73 74 20 61 |ext....M|y last a|
|00000460| 6e 64 20 66 69 6e 61 6c | 20 71 75 65 73 74 69 6f |nd final| questio|
|00000470| 6e 20 69 73 20 68 6f 77 | 20 64 6f 20 49 20 73 65 |n is how| do I se|
|00000480| 74 20 75 70 20 61 20 66 | 72 65 65 20 0a 72 75 6e |t up a f|ree .run|
|00000490| 6e 69 6e 67 20 73 75 62 | 70 72 6f 63 65 73 73 20 |ning sub|process |
|000004a0| 75 6e 64 65 72 20 61 20 | 64 69 61 6c 6f 67 20 62 |under a |dialog b|
|000004b0| 6f 78 2e 20 49 20 77 6f | 75 6c 64 20 6c 69 6b 65 |ox. I wo|uld like|
|000004c0| 20 61 20 64 69 61 6c 6f | 67 20 0a 62 6f 78 20 6f | a dialo|g .box o|
|000004d0| 66 20 6d 69 6e 65 20 74 | 6f 20 72 75 6e 20 61 20 |f mine t|o run a |
|000004e0| 6c 69 74 74 6c 65 20 70 | 72 6f 67 72 61 6d 20 69 |little p|rogram i|
|000004f0| 6e 20 74 68 65 20 62 61 | 63 6b 67 72 6f 75 6e 64 |n the ba|ckground|
|00000500| 20 74 6f 20 0a 70 69 63 | 6b 20 75 70 20 61 6e 64 | to .pic|k up and|
|00000510| 20 70 72 6f 63 65 73 73 | 20 73 65 72 69 61 6c 20 | process| serial |
|00000520| 69 6e 70 75 74 2e 20 49 | 66 20 74 68 69 73 20 69 |input. I|f this i|
|00000530| 73 20 74 6f 6f 20 63 6f | 6d 70 6c 65 78 20 74 6f |s too co|mplex to|
|00000540| 20 0a 65 78 70 6c 61 69 | 6e 20 69 6e 20 61 20 6d | .explai|n in a m|
|00000550| 61 69 6c 20 6d 65 73 73 | 61 67 65 20 72 65 66 66 |ail mess|age reff|
|00000560| 65 72 65 6e 63 65 73 20 | 74 6f 20 62 6f 6f 6b 73 |erences |to books|
|00000570| 20 6f 72 20 6a 75 73 74 | 20 74 68 65 20 0a 6e 61 | or just| the .na|
|00000580| 6d 65 20 6f 66 20 77 68 | 61 74 20 49 27 6d 20 74 |me of wh|at I'm t|
|00000590| 72 79 69 6e 67 20 74 6f | 20 64 6f 20 77 6f 75 6c |rying to| do woul|
|000005a0| 64 20 72 65 61 6c 6c 79 | 20 62 65 20 68 65 6c 70 |d really| be help|
|000005b0| 66 75 6c 2e 20 49 20 77 | 61 73 20 0a 20 77 6f 6e |ful. I w|as . won|
|000005c0| 64 65 72 69 6e 67 20 69 | 66 20 74 68 69 73 20 73 |dering i|f this s|
|000005d0| 6f 6d 65 68 6f 77 20 74 | 69 65 73 20 69 6e 74 6f |omehow t|ies into|
|000005e0| 20 74 68 65 20 72 65 73 | 70 6f 6e 73 65 20 74 61 | the res|ponse ta|
|000005f0| 62 6c 65 20 77 69 74 68 | 20 0a 73 6f 6d 65 20 73 |ble with| .some s|
|00000600| 6f 72 74 20 6f 66 20 77 | 69 6e 64 6f 77 73 20 63 |ort of w|indows c|
|00000610| 6c 6f 63 6b 20 74 69 63 | 6b 20 6f 72 20 73 6f 6d |lock tic|k or som|
|00000620| 65 20 65 76 65 6e 74 20 | 74 69 6d 65 72 20 73 6f |e event |timer so|
|00000630| 20 74 68 65 20 0a 70 72 | 6f 63 65 73 73 20 77 6f | the .pr|ocess wo|
|00000640| 75 6c 64 6e 27 74 20 72 | 75 6e 20 63 6f 6e 74 69 |uldn't r|un conti|
|00000650| 6e 75 6f 75 73 6c 79 20 | 65 61 74 69 6e 67 20 75 |nuously |eating u|
|00000660| 70 20 76 61 6c 75 61 62 | 6c 65 20 63 6c 6f 63 6b |p valuab|le clock|
|00000670| 20 0a 63 79 63 6c 65 73 | 2e 20 3c 20 49 27 6d 20 | .cycles|. < I'm |
|00000680| 61 20 72 65 66 6f 72 6d | 65 64 20 61 73 6d 20 70 |a reform|ed asm p|
|00000690| 72 6f 67 72 61 6d 6d 65 | 72 20 3e 0a 0a 09 54 68 |rogramme|r >...Th|
|000006a0| 61 6e 6b 73 20 61 20 62 | 69 6c 6c 69 6f 6e 2c 0a |anks a b|illion,.|
|000006b0| 4f 68 2c 20 49 27 6d 20 | 62 6f 72 72 6f 77 69 6e |Oh, I'm |borrowin|
|000006c0| 67 20 73 6f 6d 65 6f 6e | 65 20 65 6c 73 65 27 73 |g someon|e else's|
|000006d0| 20 61 63 63 6f 75 6e 74 | 20 62 65 63 61 75 73 65 | account| because|
|000006e0| 20 6d 79 20 6e 65 77 73 | 20 0a 73 65 72 76 65 72 | my news| .server|
|000006f0| 20 69 73 20 64 6f 77 6e | 20 73 6f 20 69 66 20 79 | is down| so if y|
|00000700| 6f 75 20 77 61 6e 74 20 | 74 6f 20 72 65 70 6c 79 |ou want |to reply|
|00000710| 20 76 69 61 20 45 2d 4d | 61 69 6c 20 74 68 65 6e | via E-M|ail then|
|00000720| 20 0a 70 6c 65 61 73 65 | 20 73 65 6e 64 20 69 74 | .please| send it|
|00000730| 20 74 6f 20 4c 61 50 65 | 6e 74 61 40 42 61 74 74 | to LaPe|nta@Batt|
|00000740| 65 6c 6c 65 2e 6f 72 67 | 0a 0a 09 2d 4a 61 73 6f |elle.org|...-Jaso|
|00000750| 6e 20 4c 61 50 65 6e 74 | 61 0a |n LaPent|a. |
+--------+-------------------------+-------------------------+--------+--------+